
/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Action;

import Entity.Customer;
import java.util.List;
import javax.ejb.Local;

/**
 *
 * @author Cyrax
 */
@Local
public interface CustomerSessionBeanLocal {

    List<Customer> listAllCustomer();

    void deleteCustomer(Customer cu);

    void updateCustomer(String email, String passowrd, String fullName, String address, String phone, int age);

    List<Customer> searchCustomer(String email);

    boolean checkCustomerEmail(String name);

    void insertCustomer(Customer cu);
}
